<include file="Public:header"/>
<div class="w_l mr10">
    <div class="mlclist box_shadow">
        <div class="conreg">
            <div class="regtit">
                <span class="ff9900">积分</span>
                <span class="f6">兑换</span>
            </div>
            <foreach name="limiteds" item="limited">
                <div class="crelist">
                    <div class="lisr">
                        <img src="{$limited.image_url}">
                    </div>
                    <div class="lisl">
                        <h3 class=" f20">
                            <a href="{:U('/credit/'.$limited['lid'])}" class="cretit">
                                {$limited.title}
                            </a>
                        </h3>

                        <p>
                            <span class="sp1">剩余/总数：</span>
                            <span class="sp2">
                                <span class="EA4899">{$limited.push}</span>/{$limited.count}份
                            </span>
                        </p>

                        <p>
                            <span class="sp1">活动剩余时间：</span>
                            <span class="sp2 countdown" data-diff="<php>echo $limited['end_time'] - time();</php>"></span>
                        </p>

                        <p>
                            <span class="sp1">领取时间：</span>
                            <span class="sp2 EA4899">{$limited.receive_start_time|date='Y.m.d',###}-{$limited.receive_end_time|date='m.d',###}</span>
                        </p>

                        <p>
                            <span class="sp1">领取地点：</span>
                            <span class="sp2">{$limited.mall.name} {$limited.floor.sain} {$limited.floor.name} {$limited.brand.name}</span>
                        </p>

                        <p>
                            <span class="sp1">状态：</span>
                            <span class="sp2 f8c">{$limited.status_dis}</span>
                        </p>
                        <p><a class="reset" href="javascript:;" onclick="limitedSend({$limited.lid},{$uid})">重新发送短信消息</a></p>
                    </div>
                    <div class="fn-clear"></div>
                </div>
            </foreach>
            <div class="page">{$page}</div>
        </div>
    </div>
</div>
<include file="Member:nav"/>
<include file="Public:footer"/>
<script type="text/javascript">
    $(function() {
        $('.countdown').countdown({
            tmpl : '%{d}天%{h}小时%{m}分%{s}秒'
        });
    });
</script>